package com.haixiaoke.saas.repository.pojo;

import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 素材组对象 biz_material_group
 * 
 * @author panda
 * @date 2023-12-25
 */
@Data
public class MaterialGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 素材组id */
    private Long groupId;

    /** 素材组名称 */
    private String groupName;

    /** 父部门id */
    private Long parentId;

    /** 素材组祖级集合 */
    private String ancestors;

    /**
     * 排序
     */
    private Integer sort;

    /** 删除标志（0代表存在 */
    private String delFlag;

    private Long orgId;

    /**
     * 素材组id集合
     */
    private Long[] groupIds;

    /**
     * 子素材
     */
    private List<MaterialGroup> children = new ArrayList<MaterialGroup>();
}
